package com.prs.crm.service.stock;

import java.util.Collection;
import java.util.List;

import com.prs.crm.domain.stock.Product;
import com.prs.crm.domain.stock.ProductStore;
import com.prs.crm.domain.store.StoreRoom;
import com.prs.crm.service.BaseService;

public interface ProductStoreService extends BaseService<ProductStore> {

	List<ProductStore> getAllRecord(int product);
	List<ProductStore> getProductStoreSize(int code,int roomid,String batchNum);
	
	ProductStore getPrStore(java.io.Serializable id);
	
	void savePrStore(ProductStore pr);
	
	public ProductStore getStore(StoreRoom room,Product product,String batchNum);
	
	ProductStore getProductStoreObject(Product id,StoreRoom room,String batchNum);
	 
	List<ProductStore> getProductStores(Product product,StoreRoom room);
	 String getNum(Product id,StoreRoom room,String batchNum);
	 Collection<ProductStore> getAllProductStores();
	 public double getStoreNums(Product id, StoreRoom room);
	 public double getStoreNums(Product id,StoreRoom room,String batchNum);
	 
	    public List<String> findRoomCodes(); 
		public void  saveStockNums(StoreRoom room);
	    public List<ProductStore> findproductNum(String roomcode);
	    public List<Integer> findproductId(String roomcode);
	  
	    
}
